/**
 * @file lv_dtable_private.h
 *
 */

#ifndef LV_DTABLE_PRIVATE_H
#define LV_DTABLE_PRIVATE_H

#ifdef __cplusplus
extern "C" {
#endif

/*********************
 *      INCLUDES
 *********************/

#include "lv_dtable.h"

#if LV_USE_DTABLE != 0
#include "../../../lvgl/src/core/lv_obj_private.h"

/*********************
 *      DEFINES
 *********************/

/**********************
 *      TYPEDEFS
 **********************/

/** Table data */
struct _lv_dtable_t {
    lv_obj_t obj;
    lv_dtable_ctrl_t ctrl;
    uint32_t col_cnt;
    uint32_t row_cnt;
    lv_dtable_get_cell_cb_t get_cell;  //cell_data
    void * user_data;
    int32_t * row_h;
    int32_t * col_w;
    uint32_t col_act;
    uint32_t row_act;
};
typedef struct _lv_dtable_t lv_dtable_t;

/**********************
 * GLOBAL PROTOTYPES
 **********************/

/**********************
 *      MACROS
 **********************/

#endif /* LV_USE_DTABLE != 0 */

#ifdef __cplusplus
} /*extern "C"*/
#endif

#endif /*LV_DTABLE_PRIVATE_H*/
